import http from "../../utils/HttpRequest";
// 用户登录
export const login=(url,params)=>{
        return http(url,params)
    }
    //用户注册
export const userRegister=(url,params)=>{
        return http(url,params)
    }
    // 验证手机号是否注册
export const telNumberChecking=(url,params)=>{
        return http(url,params)
    }
     // 查询用户详细信息
export const renewUserinfo=(url,params)=>{
        return http(url,params)
    }
        // 短信验证
export const sendCode=(url,params)=>{
        return http(url,params)
    }
    // 获取用户id等信息
export const getUser=(url,params)=>{
        return http(url,params)
    }
    // 更新用户风险评测等级
export const userRiskTest=(url,params)=>{
    console.log(params);
        return http(url,params)
    }
      // 获取用户身份认证
      export const userAuthenticationStatus=(url,params)=>{
            return http(url,params)
        }
		//识别用户身份证正面图片接口
	export const userIdCardPositivePicture=(data)=>http('/user/user-authentication/userIdCardPositivePicture',{method:"post",data})
		//用户身份认证
	export const userAuthentication=(data)=>http('/user/user-authentication/userAuthentication',{method:"post",data})
	//查询所有用户的交易流水
	export const transactionRecord=(data)=>http('/user/user-transaction/transactionRecord',{method:"get",data})
	//判断用户是否有充值密码/有就判断充值密码是否正确
	export const judgeUserPayPad=(data)=>http('/user/user-wallet/judgeUserPayPad',{method:"post",data})
	//用户新增支付密码
	export const addPayPad=(data)=>http('/user/user-wallet/addPayPad',{method:"post",data})
	//修改用户钱包余额
	export const changeUserBalance=(data)=>http('/user/user-wallet/changeUserBalance',{method:"post",data})
	//查询是否设置支付密码
	export const getUserPayPad=(data)=>http('/user/user-wallet/getUserPayPad',{method:"post",data})
	//查询余额
	export const userWalletBalance=(data)=>http('/user/user-wallet/userWalletBalance',{method:"get",data})
	//修改用户信息
	export const changeUserinfo=(data)=>http('/user/user-info/changeUserinfo',{method:"post",data})
	//获取
	export const allUserinfo=(data)=>http('/user/user-info/renewUserinfo',{method:"get",data})
	//签到修改用户积分
	export const changeUserIntegral=(data)=>http('/user/user-info/changeUserIntegral',{method:"post",data})
